Most buyers stare at the width first. They match the TV screen size and walk away happy. The depth stays in the background. I have seen this happen in every showroom from the east coast to the west coast, and it never changes regardless of the price or the brand they push.
That is a mistake. A shallow unit fits the machine, but not the heat. Humidity, that one often hits 80%+. Electronics need breathing room above and behind to function properly in this tropical climate without overheating or failing early due to heat buildup causing issues. The rear vents get blocked easily. Long-term use suffers.

Look at the back panel. Most units have vents there. If the wall is too close, the air gets trapped. The set-top box turns into an oven. You buy a new one within a year. If the wall is too close, the air gets trapped and circulation stops completely leading to overheating and damage to the components inside the unit.

Cables make it worse. A shallow shelf forces wires to bend sharply. They pinch and fray over time. Power bricks take up space. You want a gap for the power bricks to sit flat and avoid strain on the ports and connections over time without damage to the wiring. Without that slack, the connector loosens.

Go for a deeper model. It does not look bulky. It just works better. There is space for the cables to coil without strain. There is space for the cables to coil without strain and keep the area tidy and accessible for future upgrades or changes to the system. You can organise the mess behind the unit.
Some floating units are quite shallow. They work for light decor. But for a full media setup, they struggle. You need the floor-standing version for the weight. But for a full media setup, they struggle with the weight and the heat dissipation requirements of the equipment significantly over time without proper airflow or support.
Unless the TV Console is purely decorative, get the depth and ensure the back panel is accessible for maintenance and cleaning of the vents regularly to prevent dust. Heat kills electronics faster than dust. This is the difference between a setup that lasts and one that fails.
Avoiding common mistakes when assembling flat-pack TV consoles